package com.share.design.observer.demo01;

/**
 * 订阅者
 * @author caifan
 * @since 2022/11/4
 */
public class MessageSubscriber2 implements MessageObserver {
    @Override
    public void update(Message m) {
        System.out.println("MessageSubscriber2 :: " + m.getContent());
    }
}
